/*
 * imaging.wsdl web service operations
 * implemention
 *
 */
#include "../soapH.h"
#include "../onvif.h"

int get_imageservice_cap(struct soap *soap, struct timg__Capabilities * image)
{
	if(soap == NULL || image == NULL)
	{
		DBG("invalid params!\n");
		return -1;
	}

	image->__size = 0;
	image->__any = NULL;
	image->__anyAttribute = NULL;

	return 0;
}


//==================================================================================//
/** Auto-test server operation __timg__GetServiceCapabilities */
int __timg__GetServiceCapabilities(struct soap *soap, struct _timg__GetServiceCapabilities *timg__GetServiceCapabilities, struct _timg__GetServiceCapabilitiesResponse *timg__GetServiceCapabilitiesResponse)
{	
	/* Return incomplete response with default data values */
	INFO(stderr);

	timg__GetServiceCapabilitiesResponse->Capabilities = (struct timg__Capabilities *)soap_malloc(soap, sizeof(struct timg__Capabilities));
	get_imageservice_cap(soap, timg__GetServiceCapabilitiesResponse->Capabilities);

	return SOAP_OK;
}


/** Auto-test server operation __timg__GetImagingSettings */
int __timg__GetImagingSettings(struct soap *soap, struct _timg__GetImagingSettings *timg__GetImagingSettings, struct _timg__GetImagingSettingsResponse *timg__GetImagingSettingsResponse)
{	
	/* Return incomplete response with default data values */
	return SOAP_OK;
}


/** Auto-test server operation __timg__SetImagingSettings */
int __timg__SetImagingSettings(struct soap *soap, struct _timg__SetImagingSettings *timg__SetImagingSettings, struct _timg__SetImagingSettingsResponse *timg__SetImagingSettingsResponse)
{	
	return SOAP_OK;
}


/** Auto-test server operation __timg__GetOptions */
int __timg__GetOptions(struct soap *soap, struct _timg__GetOptions *timg__GetOptions, struct _timg__GetOptionsResponse *timg__GetOptionsResponse)
{	
	/* Return incomplete response with default data values */
	return SOAP_OK;
}


/** Auto-test server operation __timg__Move */
int __timg__Move(struct soap *soap, struct _timg__Move *timg__Move, struct _timg__MoveResponse *timg__MoveResponse)
{	
	return SOAP_OK;
}


/** Auto-test server operation __timg__Stop */
int __timg__Stop(struct soap *soap, struct _timg__Stop *timg__Stop, struct _timg__StopResponse *timg__StopResponse)
{	
	return SOAP_OK;
}


/** Auto-test server operation __timg__GetStatus */
int __timg__GetStatus(struct soap *soap, struct _timg__GetStatus *timg__GetStatus, struct _timg__GetStatusResponse *timg__GetStatusResponse)
{	
	/* Return incomplete response with default data values */
	return SOAP_OK;
}


/** Auto-test server operation __timg__GetMoveOptions */
int __timg__GetMoveOptions(struct soap *soap, struct _timg__GetMoveOptions *timg__GetMoveOptions, struct _timg__GetMoveOptionsResponse *timg__GetMoveOptionsResponse)
{	
	/* Return incomplete response with default data values */
	return SOAP_OK;
}
